package com.dongdongshop.controller;

import com.alibaba.dubbo.config.annotation.Reference;
import com.dongdongshop.pojo.TbBrand;
import com.dongdongshop.pojo.TbItemCat;
import com.dongdongshop.pojo.TbSpecification;
import com.dongdongshop.pojo.TbTypeTemplate;
import com.dongdongshop.service.BrandService;
import com.dongdongshop.service.ItemCatService;
import com.dongdongshop.service.TbSpecificationService;
import com.dongdongshop.service.TempLateService;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @Description
 * @ClassName IndexController
 * @Author RC
 * @date 2020.12.09 19:31
 */
@Controller
public class IndexController {


    @RequestMapping({"/"})
    public String index(){
        return "shoplogin";
    }

    @RequestMapping({"toIndex"})
    public String toIndex(){
        return "admin/index";
    }

    @RequestMapping("register")
    public String register(){

        return "register";
    }

    @RequestMapping("home")
    public String home(){

        return "admin/home";
    }

    @RequestMapping("goods_edit")
    public String goods_edit(){

        return "admin/goods_edit";
    }
    @RequestMapping("goods")
    public String goods(){

        return "admin/goods";
    }




}
